package cn.bsb.pojo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 文章类
 * 
 * */
@Table(name="article")
public class Article  extends IdEntity {
	
	//用户Id
	@Column(name="dev_user_id")
	private long dev_user_id;
	//专题Id
	private long thematic_id;
	//文章标题
	private String title;
	//文章内容
	private String content;
	//浏览数
	private long look;
	
	@Transient
	private Integer book;
	private Integer lik;
	public Integer getLik() {
		return lik;
	}
	public void setLik(Integer lik) {
		this.lik = lik;
	}
	//创建时间
	private Date creattime;
	//修改时间
	private Date modificationtime;
	//推荐状态，‘1’已经推荐‘0’没有推荐
	private long recommend;
	
	
	public long getRecommend() {
		return recommend;
	}
	public void setRecommend(long recommend) {
		this.recommend = recommend;
	}
	public long getDev_user_id() {
		return dev_user_id;
	}
	public void setDev_user_id(long dev_user_id) {
		this.dev_user_id = dev_user_id;
	}
	public long getThematic_id() {
		return thematic_id;
	}
	public void setThematic_id(long thematic_id) {
		this.thematic_id = thematic_id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public long getLook() {
		return look;
	}
	public void setLook(long look) {
		this.look = look;
	}
	
	public Date getCreattime() {
		return creattime;
	}
	public void setCreattime(Date creattime) {
		this.creattime = creattime;
	}
	public Date getModificationtime() {
		return modificationtime;
	}
	public void setModificationtime(Date modificationtime) {
		this.modificationtime = modificationtime;
	}
	

}
